package com.edu.jvm.unit01.heap;

import java.util.concurrent.TimeUnit;

/**
 * -Xmx600m -Xms600m
 *
 * @author five-five
 * @date 2021/9/13
 */
public class HeapInstanceTest {
    public static void main(String[] args) {
        byte[] bytes = new byte[1024 * 1024 * 1024 * 20];
        try {
            TimeUnit.SECONDS.sleep(60 * 60);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
